package _2工具类;

import java.sql.SQLException;
import java.util.List;
public interface ICategoryDAO {
	// rlJ
	int insert(Category c) throws SQLException ;
	
	int deleteById(int cid) throws SQLException;
	
	int update(Category c) throws SQLException;
	
	Category findById(int cid) throws SQLException;
	
	List<Category> findAll() throws SQLException;
}
